Improve OFFile API.