magma: more docs and filled out some enums