Remove empty fields from class node (close #53)