Setup for states module.