Added listoffigures and listoftables to template.