Made NotMemorizedFunc pickleable