System Management Controller API in Swift