Add stubs for a number of core classes.