This should also be encapsulated in its own class.  See comment on freebase_search above.