Not sure what's gained with all these getClient() calls -- why not just pass around the existing client -- or even make it a data member.