Uses Text::ucfirst in place of redundant ucfirst logic.