Converts some IDs to classes.