Reconfigure the default layout classes for head and foot