Replaced bytes/str with AnyStr