Top-level reader and writer APIs.