Remove duplicated factories