Added template for shift and multi/div