Use the types registry for INFORMATION_SCHEMA.TYPES, etc.
Also clean up use of mcompat in the same places.