Moved the Scoped module to a new file.