Spec'ed custom class mapping for relationships