Reorder methods.
Update internals.md, add queries.md (placeholder).
Update queries.md.