Add indexes.create, indexes.destroy and refactoring API nesting.