don't infer init args or initialize init class unless main_class matches