Use deprecated guava methods as new ones appear not be available