Added support for the open option