Added support for opening via menu.