Add a bit of documentation. Still a lot to do.