Replaced methods of numeric_ops traits class by free functions.