Adding template adapters