Extend example to show class consumption