Fixed up hints and warnings.

Just a clean up of warnings so that things cleanly compile.