Use a local gpdefs file
Fix arguments on the __new__ method