add support for PLD template