Improve documentation and add prepareForNewBackgroundJob method