support classes definition on figures