Avoid creating singleton classes during Proc#curry logic.