Fix name resolution of type definition values