Remove defunct slot and other variables that are no longer used