Wrap extensions for HHVM