Adding custom relation classes to entity descriptor class.