reconstructing classes.

Signed-off-by: Daniel <dnfagnan@gmail.com>