Wrapping a model with AMD