I've been looking at getting a Nikkor 50mm lens, but I'm a bit perplexed with the descriptors. There are two 50mm f/1.4 lenses, D and G. Can anyone tell me what the difference is?

Thanks!