Quantity decorator as a class