Remove test prints. Write document.