python. Set pdef, module in add_module and add_definition.
python. Polymorphic definition construction from AST nodes, #74.