Remove dead code and outdated documentation