Simplify use of `FramedMenu` class with respect to listeners.