Refactored the implementation of the Toaster interface.