Added a Decorator pattern detector