Adds decorator pattern