Added method to allow node attribute inheritance