Example showing decorator class