Rewrite Theme.generate, generate console. Add many tests.