Removed use of methods not available in mono