Use class name instead of class for setting