Removed unused method and improved a docstring.