MyDocument class