mostly just documentation and removal of deprecated stuff