Added string variables and a toString method.