Made Doc tags work off of templates