Patches to API to correct syntax error.