Updated previousAttributes return type on models