Modular Invariance and Nonrenormalizable Interactions