Add ability to use __getnewargs__ from protocol 2