Refactor microdata name
Extract state transitions