Update code and remove deprecation messages after the update to Guava 18.0