Remove layout manager,
simplify templates.