Add devtype registration.

It was removed by a bad merge conflict resolution from the
feature/devtype branch.