remove deprecated templates and lwrp's