Use class attribute instead of class_variable_get