Clean up code throughout the application.