- added dynamic template support (only in dist)