updating docstrings.
removing unused method.