Make the encode functions private again
Remove commented function definition