Recode mapping class