embed code support in the model