Adding some utils. Mostly relevant to REA.