If a property is not defined when initializing an instance, define it automatically.