Check directly for elements in dictionaries, not their .keys()
Iterate directly over dictionaries, not their .keys()
Merge branch 'master' into remove-keys
Merge pull request #490 from timleslie/remove-keys

MAINT: Remove redundant use of .keys()