Add main entry point.