define self for contextify sandbox