Workaround for closure detection for HHVM