rescue facon `cannot undefine method` error when resetting proxied methods