Creating class methods: encode and decode