@rkh I feel like you had some motivation behind all of the manual type handling in enc(). Is it still necessary?