Added default serial version UIDs to the canoncizers and closed a few
resource leaks