Convert static template functions to const member template functions where possible.