Guy to refactor context menu factory.