Add frontDoc and backDoc.