BS-11878: fixed API change on engine side