Cleanup in EMKSerializer