Parameters str, dictionary, and callback are required.