Picklable features

Makes features picklable so that they can be pickled along with models.