Make url pattern for icons more generalizable.