more support for fragment classes.