Don't crash getting type descriptor of abstract types.