Setting up some common elements.