Use map of valid property names. [Fixes #7]
0.8.1