define_accessors accepts a list of classes if needed