Compatibility with Aria Templates 1.6.x.
Merge pull request #12 from divdavem/compat-1.6.x

Compatibility with Aria Templates 1.6.x.