Fixed a few things in the sequence models.