Fixed bug where ExtensionRegister methods were not returning the right class.  They were returning self, but it should have returned the Register object which makes the builder function correctly.
Updated file count in detecter test.