Add missing array type hinting to method.