load Client class before extends

load Client class before extends to avoid error if Client class is not
loaded