Removed warnings for deprecated code, ctypes, etc.