Implement mn_decode