Downcase head and tail attributes