Would this be better in ``io.ports``?