valueOf and toString annotation