Remove useless "main" (used in GenericApplication template !)