Changed key setting method. Now use an enum.