This looks like it's only used in a test - do we need it?