Added option to shutdown.
Added missing PowerState enumeration.