Adding decorator pattern.