These commits create more compatibility with MT/MTG 5.0.0+. However, these commits (may) break compatibility with the 0.4-series.