A simple wrapper for mmapi