Worked around IO::Handle for now