Storing Theme in class registry for easy retrieval in templates