COMPAT: pickle compat