Adding wrapper to index