Compatibility with Aria Templates 1.6.x.

This pull request adds compatibility with Aria Templates 1.6.x.