Fixed documentation. Removed unwanted lines of code.