Sentinel support

Was #452.
I didn't check this example, thank you!