Removed unused code
Changed docs, deleted unused code