Added ZF2 Compatibility