Exclude some types from internalization

Fixes #259.