I think this is fine. Alternatively, you could have all of these as instance fields of the SearchBarView to allow for multiple search bars on the same page (although we probably won't need this capability).