Adding Castle templates