Thought I’d make a note that in the current Avatar plugin, if you define a custom style when calling either the comment or the post avatar, it checks for:
if ($tmp_class == ''){
Note that if tmp_class is blank, it then calls tmp_class as the class (leaving it blank).
Simply changing == to != corrects the issue.