Add support for style mapping.