Support older versions of IDEA.