Removes unused extensions