VID-1841 Add typehinting to method