Simplify frontend.c entry functions