Add missing stub method for mac/headless implementation.