Adding check for BehatKernelDictionary trait recursively through other traits.