A class-driven approach to dimension embedding. (1st June 2022)