Added events before and after executing local and remote calls