Adding some more mgen-api documentation