Initial attempt at writing some documentation.