Add the doc get and doc head commands.