Made some minor changes to simplify constructing the manuals.