Add PV detection framework.