First go at some documentation.