Workaround for zendframework/zf2#6132