Preparing for new Python generation method. Will break compilation for a while. obj_defines.h and obj_impl.cpp will no longer be necessary once this is complete.