Added a way to exclude types manually so that we can reproduce #1190