sm-notify command: use static function definitions