Types3 registry is functions registry

Another leftover.

* Get rid of separate types and functions registries (they are the same as of types3).
* Replace t3 names with types.