Allows trait's method to also be patched.