Refactor CoffeeType class