Fix requiring component/type