Drop unused function param and variables

* Updated method documentation
* Removed unused variables
* Removed an unused function parameter