Add class pointer to mapping