Implemented facade and factory.