Added some generic layout classes and utilities.