No need to use preferDoc in OpenMenu anymore.