Adding a function that returns the underlying client for easy access