Finished conversion to error codes.