Add OPEN, CLOSE and REWIND support.