Prepared some template stuff.