XD-1035: Prevent module creation with same name and type