Added function in ClassMapper