Constructor attributes are automatically created and marked as required when needed.