Modified client for new api paths.