Refactored Greeter.