Fixed a bug with inactive + changed coconut.module to integrate with inactive functionality.