add a type to the client