Add a type to the composer file