add accessors for wrapper array in template toolkit