Added initBase method for all parts of CPlugin