Make state engine public