MODE-2160 Incorporated recent comments and added validation of IndexDefinintions before registration.