Corrected sequence code and types.