Added support for arbitrary depth and complexity of prefetch param