Rename error functions to comply with library name.