itemprop: Do a bit of clean up work.
item/env: Add in most item property functions.

- Create helper function to reduce code repetition.
- Add docstrings.