Handle complex domain/range definitions.