Changed docstrings to descripe what the method does, not tell it what it does.
Simplified functions according to code review suggestions