Revert part of 9ec4d6984f8f81f5cfd0760fc70a76336b92839f since it breaks DynamicMethods.