Added a bit more documentation.