Use .constantize instead of custom methods for finding class