Revert "specified generics type parameter"

This reverts commit c6fc863c45a390db188369566d5120ff215dbec6.