extended support of PyType and prepared support of extensions