Formatting code and removing debug statements.