Changed CreateIndex to use ast.Expression.