Refactoring workflow of complex numbers.