Added more validation for plants.

Closes #33.