Trimming states to separate module.