Removed redundant function on Windows