pyCloseDocument removed