Fix unused warnings