(refactoring) Rearrange source code groups.