Allow modern and legacy component lookup