Added compatibility with HHVM 3.0