Refactored comments and code.