Added types to a few places where they were missing in documentation.