Add class attributes to bin output.