Add the mapping code from iface to crom. hopefully this will become
the new way to register components eventually.