Starting to work on encodeMany functions.