Update to comply with WWRD update of the API

Good catch! Bad copypasta :spaghetti: