trackRef and untrackRef are static function now.