Documenting the 2 new functions and fixing a typo in a previous comment