Repository with template code