Methanogenesis and the K+ transport system are activated by divalent cations in ammonia-treated cells of Methanospirillum hungatei.