Added comments to refactored code.