We must have something to do this properly in Common library somewhere...