Add getRelationValue method