Changes part of the title method to return a string instead of an array
to be consistent with the rest of the method.