Used in tests :)