State function classes