Made the createClient(...) method protected not public.