documentation controller: remove unused code