Fix order of registering type aliases

Registering the non-recursive aliases *after* the
recursive ones does not work.