Documentation update. Better naming of public functions.