Added TODO to update the openDoc method