Added support for custom CSS classes in the format plugin