Using weak reference for menu action context field.