cleaning up as_module_object
cleaning up as_module_object
removing some unneeded special casing for SlotProxy and AttrProxy