Fix missing BindFlags assignment.