Use uri() method for backward compatibility