Implement recursive includes for the cluster component.

Fixes #5304