Remove function name from errors