Added in some basic utilities for handling the read-write API.