Remove and reinstate hooks before and after go ops