Updated documentation to cope with changes in public facing functions and variable names