Added more suppressed deprecation warnings.

Since the CI build is still failing on travis. I think there's a problem
there...