Added StateBlock implementation