Added closure of the states interface