Support for external python classes and more