Remove static function mod from unit2