Clearing up documentation
Removed redundant code