I think it could be, for now, however some future optimization could be for the caller to pass in the NodeType instead of looking it up for each property.