Closes #1. Implement coremod.