I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names.