Pulled out class_attribute so active_record 1.3 wouldn't blowup