Added ability to specify attribute in the dictionary