Clean up decode module.