JEN-33: make Utils class and move some methods there.