Be more picky about Opaque type parsing

Closes PR 14122