Add a main type