Removes `mock` and `unmock` methods