Refactoring module initialisation
Using newer foreach cmdlet syntax
Refactoring
typo
refactoring