Started converting domains to inherit from TDomain