Warn on unused assertions and properties in subnodes