Add classes for 'Longest Palindromic Substring'.