Fixed deprecated call

Added return of item in AbstractActionType