Added getRelation() method to RelationProperty, further improvement on dynamic schema stuff.