Updating kernel/array, more return type/parameter hints [ci skip]