Module pattern implemented in services.