Workaround for HHVM bug. https://github.com/facebook/hhvm/issues/2013