Replace deprecated routines in guava