Moved Proc A so that it can register commands with KCD