Added utilities for creating relations in forms