[Yujun] Provided converter function for getters.