amnesia: fix deprecation
*: upgrade to structs
amnesia: fix Amnesia.result/1