Merge frontend and backend.