Used dictionary to pass around data between callbacks within the same scope.