Thread safe changes for HcalObjects package