Something like how it might work with ast.PythonClass