Boiler plate code.