Wrapped memory flags in enum.