Parse strings to int when rst when this is needed.