End level text refactoring.