Adding the main wrapper.