Prevent a bad type-hint.