Add backward сompatibility for using attribute bean