Added ability to create related model if it hasn't been created yet