Added parse function for HitObject