Added get_query_builder method and removed prints.