Added custom relations generator