Building the framework.