Merge pull request #3633 from ethomson/safe_creation Stricter object dependency checking during creation