Added the feature to allow for multiple types in struct values. Cleaned up error messages.