Added comments to refactor service.