Streamlined way to swizzle Objective-C instance and class methods