Remove unneeded array_keys call.