Added the ability to change errorsReturnedAs after instantiation.