Introduce MemoryPolicy API

Part 1 of #438 
Specify these as `1 << 0` and `1 << 1` to convey they are bit fields.