Added @ResponseStatus annotation to take into account the void return status.