[NEW] Add compile() method on product script elements callable by the execute tag.