Adding Repositories() to Client.
Simplifying the body to string to bytes conversion to just a body to bytes conversion.