Added compatibility for ZF 2.2.5