Use avatar adapter class defined in config