What if no `mainAction` exists? e.g. it's `indexAction` or `main` ?