Add new scope and type code