Moved range classes to domain.