is this needed, as this is also done in asdict?