Updated docs for recent changes. Removed unused code.