Fixed ref to free var
Add restclient file extension