Prepare REnv
Normalize API for MrbContext