Move encode out of dispatch