Add the main entry point.