minor (Solution) : added extensions for pattern Decorator