Define rmbranch and rmfbranch