Remove extra prototype pull from error handling code