Factored out url queries.