Adds restClient.
Merges conflict.
Fixes getCurrentURL.