Made the documentation controller fully dynamic.