Change StateAction functions' signature - no longer returns int