Renamed `getUrlParams` method and made static