REF: put public API in top level namespace.