Fix registered variable usage example