Pass klass to ResourcesNode