Remove duplicate getURL method