Improved code style in ribbon files.