Just going to start on a few OCD things which will help you get this merged quicker, because I like this.

Please put a `.` at the end, changing:

`Create an instance of the related object, detecting the namespace if necessary`

To:

`Create an instance of the related object, detecting the namespace if necessary.`