Updated ref.
Added a trace.
Added the ability to specify a default query for BTL driven stores.