Removed unused to_h method