Added ``to_common`` function