Add Id annotation to logic.