Added < EE 2.6.0 backward compatiability.