List cannot be typed as it will make fields in subclasses disappear after JSON serialization.