Implementing ApexClient