Ensuring that do not emit structs/enums unless they're actually
defined within the existing file.