Update to print errors to stderr.