It looks like that we do not convert indexCallbacks and indexCallbacksSize to a slice. Are there maybe other instances we overlooked?