Changed Doaction signature as it didn't pass strict mode.