Implemented (allow/disallow) duplicate require switch.