Added methods for creating and removing indexes