Updated and refactored graphical models.