Compatibility with zend 2.3.1