Isn't there a macro for getting the client, similarly to something like GET_CURSOR?