Adds 'required' option to hasOne associations