Add license
Add doc about defaultType