[] Small code refactoring.