This is the first fix to attach cms::thread_safe attribute to Var and Func Decls.