Added caching support for component nodes.