Removed unused methods
Added docstring