Fixed #9
Added mono support on platforms other than windows
Fix conflict with restore methods