Added method to allow row template to be set