Oh, that's what that valueOf stuff was for.