Adding a generic parameter. Adding a cast to invoke the String... varargs
Merge pull request #601 from chrisgray/bug/generic-missing

Fixing some compilation warnings about missing generics and varargs invocation