Updating to accommodate webant v4 API changes.