Split most complex functions.