These blocks seem a bit noisy. Could you move the assignment of `_volume_mapper` after the blocks? Also, could you set `self._ray_cast_functions = ['']` before the block or, if you're worried about traits-events, set a temporary variable to `['']` before the block, then assign `self._ray_cast_functions` after the block?