Allow registering templates and declaring attributes that are used