Use central cache in extension manager and remove deprecated code lines.