Use guava preconditions.