Changed k module code to match coding style.