Add support for AMD pattern.