add templates:array dependency