Add data transformer and comments.
Add test for url query.
Add pathname.
Add test for pathname.