Remove duplicated declaration of variable frontend.