DRY up client definition with #_extendClient