Adds doc to routes