Expose only promises to external modules.