support for added only for testing infrastructure... not for the public API.