Add caching of generated P6opaque classes by "signature".