Python plugin: Add flag attributes to MessageInfo object