Added support for 'returnParentOnCreate'.