Add validate() method to client and corresponding docs