Fix typos and correct somedoc block

This will correct some typos and missing doc blocks

I also added a todo because one variable is never used. It should probably be removed (maybe see if all the tests still pass form my other request).