Not rebuild everything every time.
Add state change to sphinx plugin.