Update docs.
Remove unused methods and vars.