Patches  to API syntax.