Finished up error code changes.