Fixes abstract types not to show up as main types.