Added a way to get class name easily on components.