Added some documentation.