use component-type instead.