Eliminate warnings by adding generic types and serialVersionUIDs and
suppress warnings for safe unchecked conversions.
tabs to spaces per Stormpath