Removes supressed warnings and cleans up some unnecessary casts in Mongo package
Fixes some generics warnings in examples
Fixes deprecation warnings and unchecked cast warnings