Duplicated old Template code.