Added support for css classes.