Added instance creation in PClass