Add license and fix typo.