Added missing input\model::is_empty on set().