validate object types in containers
Merge pull request #43 from dannyroberts/validate-object-types

validate object types in containers