Minor fixes. Renamed redirect to resolveurl.