Added macro to work around problem in Zend API