The SettingsForm class constructor instantiate the libraryDiscovery and moduleHandler properties, but this is useless as the use of protected keyword in the method parameter is sufficient.
SettingsForm
libraryDiscovery
moduleHandler
protected
Active
3.0
Code