Refactor for more readable code.