MVC-4 Added get_client function.