Refactor printing help docs into a less fragile class