Support for Mac platform