Add missing $state dep