Added rest utils functions.