Updated to be compatible with latest ErnKit (ERNObjectAction refactoring)