Fixed code to meet standards.