BTW, it maybe a good idea to factor out this to a public interface.
@smichr ?