Prepare for publishing.