Update template to use allow multiple documents to use a common base