This implementation works only on Mac OS and will do nothing on Windows. It used to be platform specific, but now is platform agnostic. Consider refactoring.