Proper abstraction for InputMediator