Removed __getstate__ and __setstate__ from public API entries.