Refactoring the title shorting process.