Added a new probe class for recording from shared variables