Add to_s method for targets