Cannot refactor synthesized function 'component1'