Avoiding monkey patch on application