Changed enum names. Added plugin runtime compatibility support.