Replace String with stronger types.