Common methods migrated to common.ps1