Move safe-get to utils