Add index method to SchemaBuilder