Add some documentation on how HandleCommand work.