I think I would leave this function private. It seems to be only used by this module internally and tests. We can test this functionality works as expected by writing tests to `all/1`.