Corrected some errors in the docs related to instantiating the client