Reformatting code to Zend Standard