Added class definition for Hole object