A programmatic replacement for Interface Builder.