Added client key validation.