showDoc now takes a mode and an Int, but the documentation doesn't say what the Int is for - so I just used 1 as a placeholder.