Call-time pass-by-reference has been deprecated

And it was superfluous, as the function itself defined the argument as
pass by reference.
Don't call custom error handler for libraries