`prefix` is undefined in this function.