Made resolveUrl public