AWE - Migration to new WE API
FIX: Fixed edit session not compiling

WARNING: Code compiles but it probably does not work!