Complete rebuild Phpr_Extension class