Add assertions for instrumentation classes.