Added javadocs describing the generic types.

Change-Id: I7c40374ee013de5ea67037407c587ceb77bb8007