Updating to accommodate webant v4.0.0 API changes.