Refactored HHVM workaround into an own namespace