Added reindexing of API objects