add support for both namespace Yaf and global Yaf_* classes