Re-add masmem.h; not sure how I lost it!