Make the Class examples runnable. Fix a typo in one of the examples.