support binding templates via annotations