Changed all str() to repr().