Moved competence adding to index.