Got rid of unused function and updated docs.