Added implementations for `output-port?` and `input-port?`