use non depricated urls' patterns if available
remove not used imported method