Small code cleanups

Todo:
- Ability to fetch relations.
- Cleanup of DB fetchFields
- Deprecation of set.