Add embed code instance method