Fixed compatibility with the latest IDEA 13.1 EAP build.
(cherry picked from commit 788cfef)