Check types of objects passed into array properties and raise exceptions on incorrect types