Refactored Gripper to be a record.