method_undefined changed to private