Adding the instance properties into the preCreationCode.