Integrated code for Decorator Pattern.