Replace deprecated API and update target version for RestExplorer