Make NOT SUPPORTED IN HHVM for functions only

Fixes #311