using autoloading, removing direct use of `$stdout`