Added basic support for ribbons.
Import and export the ribbon flags.