Generics fix

Fixed a generic type parameter and a Javadoc typo, both in DGM.