Make the random location util more versatile.

In case we want to use it in other situations.