Refactored Title Helper