Yay! Got the encoder working with the types I was after.