Change structure to conform to updated hook.