Add 'index' method to syntax list