Made the template declaration a little neater