New templates implementation in poc4