Removed WinRegistry dependency