Implement KDS.