Removing old error functions.