Use BaseMod.createProxy