Add a thing that might make sense to amb.
Add mapi and appi functions.