fix(gateway): keep core service methods within size limit