A first pass at better documentation.