Front-end tidying.