Added default methods to template class