Simplify frontend part.