Cleanup def node generation
Methods defined in reopened modules should not overwrite methods defined by class