Various doc fixes.
Template updates.