Remove old style error functions