Added some slightly better documentation.