remove unused "methods" argument to Object.__init__