Fixed Get-CharmState and Set-CharmState