Define Client and Host API calls.