Cleaned up kessence implementation