added support for "class_name" for associations