fix Adapter, Chaining, Command, Composite, CompositeIterator patterns to AMD