Remove useless use of optionSet.
Add error an message to prevent use of useless submodules.