Custom template support