Edit object enabled.
+ bug fix (Enum can't be cast to String, must use Enum.toString() instead).