Move some stuff into an Internal module and export it there