Add AS template