Force standard main prototype, closes #529