add templated docs