Adds inheritance and empty node class