def __getstate__(self):
return dict((k, v) for (k, v) in self.__dict__.items()<EOL>if k in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>
Most of our properties are cached from the LDAP server. We only want to
pickle a few crucial things.