Small code cleanup in pebble engine: removed unnecessary casting of pebble template