Add doc system.