Changing the template constructor to accept a second optional parameter for intial data.