Added string formatting for each type.