Adding modules for K constants and W memory.