Remove unused variables from config