Added a target param to constructor to differentiate between generating HTML vs. MAN pages.