Add type_index version of ComponentMapper::getFor