Added some template tags.