Add better diag with croak() to notify redefinition of type alias.