More work on edatatypes and export of types prefixed by package prefixes.