Adds experimental support for array of hooks.