Code cleanup before publishing.