Fixed wrong classname capitilization when getting the class name of namespaced controllers.