Support generating class map for XHP classes