Set up patches for components.