Begin 0.8 and ZF2 compat