Fixes component references.