Register non ActiveRecord::Base classes correctly.