Make getURL public