Add the base mechanism to query to resources.
Merge remote-tracking branch 'choose_remote_name/master'