Fix model functionality.