added back a safe interface around MappedRegion

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>