Add class javadoc and fill out some other stubs.