[!!!][TASK] Remove sys_domain and LegacyDomains