In compound documents creation run main resource hooks first