Added rm hook