Prevent generating code with scalar typehints