was about to ask why these methods are exposed, but then I realized they are needed for the unit test.