Some helper tools/classes