Replaces .get('id') with just .id.