Added modify hook.