Fixed class-mapping example