Added decorator pettern.