Clean up main package source file.