domain type definitions are collected in one namespace and not spread out in different files