complete working mam 0.3 supporting previous client API.