Anonymous class returned by IN needs to do IO.
Anonymous class returned by IN needs to subclass IO::Handle.