URL handling improved and more functions exposed